<?php
$username = $_SESSION['username'];
$isAdmin = $_SESSION['isAdmin'];
if($isAdmin){
	echo"
		<link type='text/css' rel='stylesheet' href='stylesheets/stylesheet.css'/>
		<div id='top_bar' class='top_bar'>
      		<div class='top_bar' id='top_bar_entry'>Welcome, $username</div>
      		<div class='top_bar' id='top_bar_entry'><a href='admin_dashboard.php'>Admin Dashboard</a></div>
      		<div class='top_bar' id='top_bar_entry'><a href='logout.php'>Logout</a></div>
    	</div>
	";
} else {
	echo"
		<link type='text/css' rel='stylesheet' href='stylesheets/stylesheet.css'/>
		<div id='top_bar' class='top_bar'>
      		<div class='top_bar' id='top_bar_entry'>Welcome, $username</div>
      		<div class='top_bar' id='top_bar_entry'><a href='user_dashboard.php'>User Dashboard</a></div>
      		<div class='top_bar' id='top_bar_entry'><a href='logout.php'>Logout</a></div>
    	</div>
	";
}
;?>